// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import locale from 'element-ui/lib/locale/lang/zh-CN'; // lang i18n
import './style/transition.scss';
import './style/layout.scss';
import "./style/common.css"; //common css
import Json from '../static/const/const.json';

Vue.use(ElementUI, {locale});
Vue.config.productionTip = false;
Vue.prototype.COMMON = Json;

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
});
